﻿package mortal.game.view.chat.data
{
    import Message.Public.*;
    import mortal.game.resource.tableConfig.*;

    public class FaceAuthority extends Object
    {
        public static const NORMAL:int = 1;
        public static const VIP:int = 2;

        public function FaceAuthority()
        {
            return;
        }// end function

        public static function getFullAuthority() : int
        {
            return NORMAL | VIP;
        }// end function

        public static function getPlayerAuthority(param1:SMiniPlayer) : int
        {
            return getFullAuthority();
        }// end function

        public static function getMiniPlayerAuthority(param1:SMiniPlayer) : int
        {
            if (VipConfig.instance.isShowEffect(EVipRecordType._EVipRecordTypeExpress, param1.VIP))
            {
                return VIP | NORMAL;
            }
            return NORMAL;
        }// end function

        public static function getVIPAuthority(param1:int) : int
        {
            return getFullAuthority();
        }// end function

    }
}
